package com.yunzo.coc.model;



import java.util.Map;

import com.jfinal.plugin.activerecord.Model;

/**
 * GroupMemberinfoModel<br>
 * id	id<br>
 * version	<br>
 * orderids	<br>
 * realname	<br>
 * nikename	<br>
 * mheadimage	<br>
 * msex	<br>
 * mids	<br>
 * mnativeplace	<br>
 * mbirthday <br>
 * memail	<br>
 * mqq	<br>
 * mwx	<br>
 * msinawb	<br>
 * n1	<br>
 * n2	<br>
 * createtime	<br>
 * updatetime	<br>
 * userids	<br>
 * y_group_memberinfo
 * @author xiaobo
 */

@SuppressWarnings("serial")
public class GroupMemberinfoModel extends Model<GroupMemberinfoModel>{
	
	public static final GroupMemberinfoModel dao = new GroupMemberinfoModel();
	
	 /**
     * 唯一id
     */
	public static String ID = "ids";
	 /**
     * 版本号
     */
	public static String VERSION = "version";
	 /**
     * 排序号
     */
	public static String ORDERIDS = "orderids";
	 /**
     * 真实姓名
     */
	public static String REALNAME = "realname";
	 /**
     * 昵称
     */
	public static String NIKENAME = "nikename";
	 /**
     * 头像
     */
	public static String HEADIMAGE = "mheadimage";
	 /**
    * 性别
     */
	public static String SEX = "msex";
	 /**
     * 电话号码
     */
	public static String MID = "mids";
	 /**
     * 籍贯
     */
	public static String NATIVEPLACE = "mnativeplace";
	/**
     * 生日
     */
	public static String BIRTHDAY="mbirthday";
	 /**
     * EMAIL
     */
	public static String EMAIL = "memail";
	 /**
     * QQ
     */
	public static String QQ = "mqq";
	 /**
     * WX
     */
	public static String WX = "mwx";
	 /**
     * WB
     */
	public static String SINAWB = "msinawb";
	
	 /**
     * N1
     */
	public static String N1 = "n1";
	 /**
     * N2
     */
	public static String N2 = "n2";
	
	 /**
     * 创建时间
     */
	public static String CREATETIME = "createtime";
	
	 /**
     * 修改时间
     */
	public static String UDATETIME = "updatetime";
	 /**
     * 用户ID
     */
	public static String USERIDS = "userids";
	/**
	 * 会员id
	 */
	public static String MEMBERID = "memberid";
	
	
	/**
	 * 通讯录排序号
	 */
	public static String YGCORDER="ygcorder";
	/**
	 * 通讯录版本号
	 */
	public static String YGCVERSION="ygcversion";
	/**
	 * 通讯录父级职位名
	 */
	public static String YGCPARENTNAME="ygcparentname";
	/**
	 * 通讯录职位名
	 */
	public static String CNAMES="cnames";
	
    /**
     * 检查值是否有效*
     * @param sex 性别值
     * @return 有效性
     */
    public static final boolean checkSex(int sex) {
        
        return sex == 1 || sex == 0;
    }
    @Override
	public Map<String, Object> getAttrs() {
		return super.getAttrs();
	}
	
}
